Red Huang
Follow
2
Followers
4
Followings
Patron
Home
Archives
two pointers
Latest
Hottest
Most Commented
Codeforces Round #112 (Div. 2) C. Another Problem on Strings
給你一串由 0 跟 1 組成的字串 問你子字串中恰好包含 k 個 1 的子字串有幾個 假設例子 01010 那麼先設一個陣列儲存 i 之前的 1 有幾個 也就是 s[i]= 01122 然後再利用這些數字當作索引直,表示從頭開始產生 i 的方法有幾種 (all) 所以只要 s…
two pointers
1 min
11 years ago
Ownership of this blog data is guaranteed by blockchain and smart contracts to the creator alone.
Blockchain ID
#71566
Owner
0x14d8336c1af639f98c4a453228caea3ff2b0ed10
Transaction Hash
Creation 0x73e6b1d8...0bfa56008d
Last Update 0x62ac3791...c381a4296a
IPFS Address
ipfs://QmR7yxaed3FGVu8ChpPVpzGCTgmGHXU2vrLs6nxzeitvbZ